/**
 * this class will implement the entity of vehicle.
 * 
 * @author Gil Levinson
 * @author Boris Fradlis
 * @author Yogev Levi
 * @author Hila Porat
 * * 
 * 
 */


package vcpClasses;

import java.io.Serializable;

//Start of Vehicle ****************************************************************** 

public class Vehicle implements Serializable{
	
	//Class variables ****************************************************************
	
	private int vehicleNumber;
	private int clientNumber;
	private int subscriptionNumber;
	
	//Constructors ******************************************************************
	
	/**
	 * Empty constructor
	 */
	
	public Vehicle() {}
	
	/**
	 * construct instance of Vehicle using the vehicle number
	 * @param vehicleNumber - the vehicle number
	 */
	public Vehicle(int vehicleNumber) {
		this.setVehicleNumber(vehicleNumber);
	}
	
	// Getters and Setters **********************************************************

	/**
	 * @return the vehicleNumber
	 */
	public int getVehicleNumber() {
		return vehicleNumber;
	}

	/**
	 * @param vehicleNumber the vehicleNumber to set
	 */
	public void setVehicleNumber(int vehicleNumber) {
		this.vehicleNumber = vehicleNumber;
	}

	/**
	 * @return the clientNumber
	 */
	public int getClientNumber() {
		return clientNumber;
	}

	/**
	 * @param clientNumber the clientNumber to set
	 */
	public void setClientNumber(int clientNumber) {
		this.clientNumber = clientNumber;
	}

	/**
	 * @return the subscriptionNumber
	 */
	public int getSubscriptionNumber() {
		return subscriptionNumber;
	}

	/**
	 * @param subscriptionNumber the subscriptionNumber to set
	 */
	public void setSubscriptionNumber(int subscriptionNumber) {
		this.subscriptionNumber = subscriptionNumber;
	}
	
}
